Linus' Law

There are two statements named Linus's Law: one by Eric S. Raymond concerning software bug detection by a community, and the other by Linus Torvalds about the motivations of programmers.

Contents

By Eric Raymond

Linus's Law as described by Raymond is a claim about software development, named in honor of Linus Torvalds and formulated by Raymond in his essay and book "The Cathedral and the Bazaar" (1999).[1][2] The law states that "given enough eyeballs, all bugs are shallow"; or more formally: "Given a large enough beta-tester and co-developer base, almost every problem will be characterized quickly and the fix will be obvious to someone." Presenting the code to multiple developers with the purpose of reaching consensus about its acceptance is a simple form of software reviewing. Researchers and practitioners have repeatedly shown the effectiveness of the reviewing process in finding bugs and security issues,[3] and also that reviews may be more efficient than testing.

In Facts and Fallacies about Software Engineering, Robert Glass refers to Linus' Law as a "mantra" of the Open source movement, but calls it a fallacy, stating that research has found that the number of bugs found decreases with too many inspectors, and that no research supports the Law as stated.[4] While closed-source practitioners also promote stringent, independent code analysis during a software project's development, they focus on in-depth review by a few and not primarily the number of "eyeballs".[5][6]

By Linus Torvalds

In the prologue of the book The Hacker Ethic and the Spirit of the Information Age (2001) Torvalds introduces his "Linus's Law", which is that every motivation that makes a man do something can be classified under "survival", "social life" and "entertainment."[7] As a result, he writes, progress is defined as reaching a higher category: not doing a thing merely for survival, but for social reasons, and then, even better, just for fun.

See also

References